<?php
class Apps_View_Helper_LabelEventType extends Apps_View_Helper_LabelBase {
    public $map = array(
        Model_DbTable_Event::TYPE_GENERAL   	        => array('General Information', 'label-warning a'),
        Model_DbTable_Event::TYPE_INCENTIVE	            => array('Incentives', 'label-important'),
        Model_DbTable_Event::TYPE_MEETING_CONFERENCE	=> array('Meeting & Conference', 'label-success'),
        Model_DbTable_Event::TYPE_EVENT	                => array('Events', 'label-info')
    );

    public function labelEventType($type, $label=true) {
        return $this->map($type, $label);
    }
}